package cn.group.dao;

import cn.group.domain.Teacher;

import java.util.List;

public interface TeacherDao {
    List<Teacher>queryAll();//查询所有教师
    int insertByTeacher(Teacher teacher);//添加教师信息
    int updateByTeacher(Teacher teacher);//修改教室信息
    Teacher queryById(Integer id);//
    int deleteByTeacher(Integer id);
    Teacher queryByUsername(String username);
}
